package com.xxh.market.dao;

import com.xxh.market.entity.Order;

import java.util.List;

public interface OrderDao {

    /**
     *
     * @param order
     * @return 返回新增订单的ID
     */
    int insertOrder(Order order);

    List<Order> selectOrdersByUser(int uid);
}
